<!doctype html>
<html lang="cn">
<head>
	<meta charset="UTF-8">
	<title>分类页</title>
	<link rel="stylesheet" href="__PUBLIC__/css/bootstrap.min.css">
    <link rel="stylesheet" href="__PUBLIC__/home/css/category/index.css">
    <link rel="stylesheet" href="__PUBLIC__/home/css/iconfont/iconfont.css">
   <link rel="stylesheet" href="__PUBLIC__/home/css/information.css">
    <block name="main1">
    </block>
</head> 
<body>
<nav class="navbar navbar-inverse navbar-fixed-top">
		<div class="container">
			<!-- <div class="navbar-header">
				<a href="#" class="navbar-brand"><img src="./image/logo-footer.png" width=30 height=30></a>
			</div> -->
			<ul class="nav navbar-nav">
				<li><a href="<{:U('weather/getweather')}>">天气状况</a></li>
				<li><a href=""></a></li>
				<li><a href=""></a></li>
				<li><a href="<{:U('Index/index')}>">首页</a></li>
				<volist name="da" id="vo">
				<li><a href="<{:U('Category/index',array('td'=>$vo['id']))}>"><{$vo.name}></a></li>
				</volist>
				
			</ul>
			<ul class="nav navbar-nav navbar-right">
				<li><a href="<{:U('Person/index')}>"><{$_SESSION['home_user']['phone']|default='登录'}></a></li>
				<li><if condition="empty($_SESSION['home_user']['phone'])"><a href="<{:U('Index/index')}>">注册</a><else /><a href="<{:U('Public/logout')}>">退出</a></if></li>
				<li><a href="<{:U('Score/index')}>">领红包</a></li>
			</ul>
		</div>
	</nav>

<block name="main">
	<div class="container">
		<div class="row d">
			<div class="col-md-2"><a href="<{:U('Category/index',array('id'=>$id))}>">热映电影</a></div>
		</div>
		<div class="row d1">
			<div class="col-md-12">
				影片类型
			<volist name="list" id="vo">
				<a href="<{:U('Category/index',array('td'=>$vo['pid'],'cid'=>$vo['id']))}>"><{$vo.name}></a>
				</volist>
			</div>
		</div>
		<div class="row d2">
			<div class="col-md-8">
				影片查询
				<form action="<{:U('Category/index',array('td'=>$id))}>" method="post">
				<div class="input-group">
					<input type="text" name="name" class="form-control" placeholder="请输入影片名">
					<span class="input-group-addon iconfont"><button class="btn default-btn">&#xe620;</button></span>
				</div>
				</form>
			</div>
		</div>
		<!--影片-->
		<empty name="list1">
			<div class="row">
				<div class="col-md-12"><{$row}></div>
			</div>
		<else />
		<div class="row r1">
		<volist name="list1" id="vo">
		<div class="col-md-6 d4">
			<div class="row d3">
			
				<div class="col-md-2 col-md-offset-3">
					<a href="<{:U('Detail/index',array('id'=>$vo['id']))}>"><img src="__ROOT__/Uploads/<{$vo.icon|substr=0,8}>/<{$vo.icon|substr=8}>" width=160 height=195></a>
					<a href="<{:U('Detail/index',array('id'=>$vo['id']))}>"><button class="btn default-btn">查看详情</button></a>
				</div>
				<div class="col-md-4 col-md-offset-2">
					<a href="<{:U('Detail/index',array('id'=>$vo['id']))}>"><{$vo.name}></a><br>
					<span>
						<in name="i1" value="$vo.cid" >喜剧</in>
						<in name="i2" value="$vo.cid" >动作</in>
						<in name="i3" value="$vo.cid" >爱情</in>
						<in name="i4" value="$vo.cid" >科幻</in>
						<in name="i5" value="$vo.cid" >魔幻</in>
						<in name="i6" value="$vo.cid" >灾难</in>
						<in name="i7" value="$vo.cid" >恐怖</in>
						<in name="i8" value="$vo.cid" >纪录</in>
						<in name="i9" value="$vo.cid" >犯罪</in>
						<in name="i10" value="$vo.cid" >战争</in>
						<in name="i11" value="$vo.cid" >冒险</in>
						<in name="i12" value="$vo.cid" >剧情</in>
						<in name="i13" value="$vo.cid" >惊悚</in>
						<in name="i14" value="$vo.cid" >悬疑</in>
					</span><br>
					<span>语言：<{$vo.language}></span><br>
					<span>片长：<{$vo.duration}></span><br>
					<span>导演：<{$vo.director}></span><br>
					
				</div>
				</div>
			</div>
		</volist>
		</div>
		</empty>
		<!--end 影片-->

		<!--影片-->
		<!-- <div class="row d3">
			<div class="col-md-2">
				<img src="__PUBLIC__/images/s_68df6a93_157c2e755a4__7889.jpg" >
				<button class="btn default-btn">选座购票</button>
			</div>
			<div class="col-md-8">
				<a href="">机械师2：复活</a><br>
				<span>类型：动作,犯罪</span><br>
				<span>语言：英语</span><br>
				<span>片长：1小时39分</span><br>
				<span>导演：丹尼斯.甘塞尔</span><br>
				<span>主演：杰森.斯坦森 杰西卡.阿尔芭 汤米.李.琼斯 杨紫琼 山姆.哈慈尔丁</span>
			</div>
		</div>
		end 影片
		
		影片
		<div class="row d3">
			<div class="col-md-2">
				<img src="__PUBLIC__/images/s_68df6a93_157c2e755a4__7889.jpg" >
				<button class="btn default-btn">选座购票</button>
			</div>
			<div class="col-md-8">
				<a href="">机械师2：复活</a><br>
				<span>类型：动作,犯罪</span><br>
				<span>语言：英语</span><br>
				<span>片长：1小时39分</span><br>
				<span>导演：丹尼斯.甘塞尔</span><br>
				<span>主演：杰森.斯坦森 杰西卡.阿尔芭 汤米.李.琼斯 杨紫琼 山姆.哈慈尔丁</span>
			</div>
		</div> -->
		<!--end 影片-->
		<div class="row page">
			<{$page}>
		</div>
	</div>
	
	</block>